package com.zrwl.poscloud.base.constants;

/**
 * @author liuxiaolong
 * @date 2022/7/23
 * @description
 */
public class EquipmentChangeConstants {

    /***
     * equipmentType
     */
    public static final int changeType_cutOff = 1;//开闸
    public static final int changeType_switchOff = 2;//关闸
    public static final int changeType_meter_reading = 3;//抄表

    public static String getChangeTypeName(int type) {
        switch (type) {
            case changeType_cutOff:
                return "开闸";
            case changeType_switchOff:
                return "关闸";
            case changeType_meter_reading:
                return "抄表";
            default:
                return "其他";
        }
    }

}
